package com.braveman.im.ui.holder;

import android.view.View;
import android.widget.TextView;

import com.braveman.im.R;
import com.braveman.im.bean.SetUpBean;
import com.ht.baselibs.ui.base.BaseViewHolder;

/**
 * Created by Administrator on 2017/10/17.
 */

public class SetUpHolder extends BaseViewHolder<SetUpBean> {
    private TextView title;
    private TextView integrity;
    private TextView category;


    public SetUpHolder() {
        super(R.layout.item_platform);
    }

    @Override
    protected void initView() {
        title = findViewById(R.id.txt_item_title);
        integrity = findViewById(R.id.txt_item_integrity);
        category = findViewById(R.id.txt_item_category);
    }

    @Override
    protected void refreshView(SetUpBean setUpBean) {
        title.setText(setUpBean.title);
        integrity.setText(setUpBean.integrity);
        category.setText(setUpBean.category);
    }
}
